

package com.zdkj.subway.st.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.zdkj.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 线网临时配收计划通知
 *
 * @author cuilei
 * @date 2020-06-16 11:29:28
 */
@Data
@TableName("sw_tk_temporary_distribution_plan_notice")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "线网临时配收计划通知")
public class SwTkTemporaryDistributionPlanNotice extends BaseEntity<SwTkTemporaryDistributionPlanNotice> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;
    /**
     * 关联配送/回收业务表ID
     */
    @ApiModelProperty(value = "关联配送/回收业务表ID")
    private Integer refId;
    /**
     * 线路编码
     */
    @ApiModelProperty(value = "线路编码")
    @ExcelProperty(value = "线路编码", index = 1)
    private String lineCode;
    /**
     * 车站编码
     */
    @ApiModelProperty(value = "车站编码")
    @ExcelProperty(value = "车站编码", index = 2)
    private String stationCode;
    /**
     * 计划配收类型:0:配送;1:回收
     */
    @ApiModelProperty(value = "计划配收类型:0:配送;1:回收")
    @ExcelProperty(value = "计划配收类型", index = 3)
    private String distributionType;
    /**
     * 计划配收票种
     */
    @ApiModelProperty(value = "计划配收票种")
    private String distributionTicketType;

    /**
     * 计划配收数量
     */
    @ApiModelProperty(value = "计划配收数量")
    @ExcelProperty(value = "计划配收数量", index = 4)
    private Integer distributionNumber;
    /**
     * 配送回收人
     */
    @ApiModelProperty(value = "配送回收人")
    @ExcelProperty(value = "配送回收人", index = 5)
    private String distributionPersonName;
    /**
     * 配送回收人工号
     */
    @ApiModelProperty(value = "配送回收人工号")
    @ExcelProperty(value = "配送回收人工号", index = 6)
    private String distributionPersonCode;
    /**
     * 配送2回收人
     */
    @ApiModelProperty(value = "配送2回收人")
    private String distributionPersonTwoName;
    /**
     * 配送2回收人工号
     */
    @ApiModelProperty(value = "配送2回收人工号")
    private String distributionPersonTwoCode;
    /**
     * 配送回收时间
     */
    @ApiModelProperty(value = "配送回收时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "配送回收时间", index = 7)
    private LocalDateTime distributionTime;
    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    @ExcelProperty(value = "操作人", index = 8)
    private String operatorPersonName;
    /**
     * 操作人工号
     */
    @ApiModelProperty(value = "操作人工号")
    @ExcelProperty(value = "操作人工号", index = 9)
    private String operatorPersonCode;
    /**
     * 通知确认状态:0:未确认;1:已确认
     */
    @ApiModelProperty(value = "通知确认状态:0:未确认;1:已确认")
    private String noticeConfirm;
    /**
     * 确认时间
     */
    @ApiModelProperty(value = "确认时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime confirmTime;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "配送回收时间 yyyy-MM-dd")
    @TableField(exist = false)
    private String distributionTimeDTO;

}
